const {merge} = require('webpack-merge');
const common = require('./webpack.common');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
module.exports = merge(common,{
    mode:'development',
    devServer: {
        contentBase: './public',
    },
    module:{
        rules:[
            
        ]
    },
    devtool:'eval-cheap-module-source-map',
    plugins:[
        new webpack.DefinePlugin({
            BASE_URL:JSON.stringify('http://localhost:8080/')
          }),
        new MiniCssExtractPlugin()
    ]
})